package com.wash.shoes.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.wash.shoes.common.enums.FactoryShelvesStatusEnum;

import lombok.Data;

/**
 * 工厂货架
 */
@Data
@TableName("os_factoryshelves")
public class FactoryshelvesPo extends BasePersist {
    @TableId
    private String id;
    /**
     * 货架编码
     */
    private String code;
    /**
     * 货架前缀
     */
    private String prefix;

    /**
     * 容量
     */
    private Integer capacity;

    /**
     * 状态
     */
    private FactoryShelvesStatusEnum status;

    /**
     * 工厂id
     */
    @TableField(value = "factory_id")
    private String factoryId;

    /**
     * 备注
     */
    private String remark;
    /**
     * 使用数量
     */
    @TableField(value = "use_num")
    private Integer useNum;
}
